package com.bsoft.exchange.dao.his;


import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bsoft.exchange.domain.ChildDepartment;
import com.bsoft.exchange.domain.Department;


@Mapper
public interface DepartmentMapper {
	List<Department> selectList(@Param("hospitalCode") String hospitalCode,
			@Param("outpatientType") int outpatientType,
			@Param("lastModifyTime") Date lastModifyTime);
	
	List<ChildDepartment> selectListChild(@Param("hospitalCode") String hospitalCode,
			@Param("departmentCode") String departmentCode);
	
	List<Map<String, Object>> selectListAll(@Param("hospitalCode") String hospitalCode,
			@Param("outpatientType") int outpatientType,
			@Param("departmentCode") String departmentCode);
	
	List<ChildDepartment> getChildDepartByName(@Param("jgid") Long jgid,@Param("ksmc") String ksmc,@Param("mzlb") Integer mzlb);


	
}
